package com.code.entity.generator;

import cn.afterturn.easypoi.excel.annotation.Excel;

public class Column {
    @Excel(name = "表名")
    private String tableName;
    @Excel(name = "字段名")
    private String columnName;
    @Excel(name = "数据类型")
    private String dataType;
    @Excel(name = "数据长度")
    private String dataLength;
    @Excel(name = "字段注释")
    private String columnComment = "";
    @Excel(name = "是否非空")
    private String nullState;
    @Excel(name = "唯一索引")
    private String index;
    @Excel(name = "版本号")
    private String version = "1.0";
    @Excel(name = "字段扩充")
    private String extendFlag;
    @Excel(name = "是否建立历史表")
    private String withHistory = "";
    @Excel(name = "历史表是否建立trade_date")
    private String withHisDate = "";
    @Excel(name = "默认值")
    private String defaultValue = "";

    @Excel(name = "值是否区分大小写")
    private String careLowCase;

    private Boolean extend = false;

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getDataLength() {
        return dataLength;
    }

    public void setDataLength(String dataLength) {
        this.dataLength = dataLength;
    }

    public String getColumnComment() {
        return columnComment;
    }

    public void setColumnComment(String columnComment) {
        this.columnComment = columnComment;
    }

    public String getNullState() {
        return nullState;
    }

    public void setNullState(String nullState) {
        this.nullState = nullState;
    }

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getExtendFlag() {
        return extendFlag;
    }

    public void setExtendFlag(String extendFlag) {
        this.extendFlag = extendFlag;
    }

    public String getWithHistory() {
        return withHistory;
    }

    public void setWithHistory(String withHistory) {
        this.withHistory = withHistory;
    }

    public String getWithHisDate() {
        return withHisDate;
    }

    public void setWithHisDate(String withHisDate) {
        this.withHisDate = withHisDate;
    }

    public String getDefaultValue() {
        return defaultValue;
    }

    public void setDefaultValue(String defaultValue) {
        this.defaultValue = defaultValue;
    }

    public String getCareLowCase() {
        return careLowCase;
    }

    public void setCareLowCase(String careLowCase) {
        this.careLowCase = careLowCase;
    }

    public Boolean getExtend() {
        return extend;
    }

    public void setExtend(Boolean extend) {
        this.extend = extend;
    }
}
